/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.PublishObject*/
public class PublishObject extends JavaScriptObject {

	protected PublishObject() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final int getHTMLVersion()/*-{
		return this.HTMLVersion;
	}-*/;

	public native final void setHTMLVersion(int value)/*-{
		this.HTMLVersion = value;
	}-*/;

	public native final int getSourceType()/*-{
		return this.SourceType;
	}-*/;

	public native final void setSourceType(int value)/*-{
		this.SourceType = value;
	}-*/;

	public native final int getRangeStart()/*-{
		return this.RangeStart;
	}-*/;

	public native final void setRangeStart(int value)/*-{
		this.RangeStart = value;
	}-*/;

	public native final int getRangeEnd()/*-{
		return this.RangeEnd;
	}-*/;

	public native final void setRangeEnd(int value)/*-{
		this.RangeEnd = value;
	}-*/;

	public native final String getSlideShowName()/*-{
		return this.SlideShowName;
	}-*/;

	public native final void setSlideShowName(String value)/*-{
		this.SlideShowName = value;
	}-*/;

	protected native final int _getSpeakerNotes()/*-{
		return this.SpeakerNotes;
	}-*/;

	public final MsoTriState getSpeakerNotes(){
		return MsoTriState.valueOf(_getSpeakerNotes());
	}
	protected native final void _setSpeakerNotes( int value)/*-{
		this.SpeakerNotes = value;
	}-*/;

	public final void setSpeakerNotes(MsoTriState value){
		_setSpeakerNotes(value.getValue());
	}
	public native final String getFileName()/*-{
		return this.FileName;
	}-*/;

	public native final void setFileName(String value)/*-{
		this.FileName = value;
	}-*/;

	public native final void publish()/*-{
		this.Publish( );
	}-*/;

}
